Getting Default Settings for an Image or a Sequence
This section describes the functions that allow you to derive sensible default compression settings for an image or a sequence. The standard dialog component examines an image you provide and selects appropriate default settings based on the image's characteristics. The component stores those settings for you and uses them with other functions, including not only functions governing image or sequence compression, but also utility functions such asSCNewGWorld
. If you choose to display a dialog box to the user, the component uses these settings as the default dialog box settings.Any of these functions may be used with a single image or an image that is part of
a sequence. You tell the standard dialog component whether the image is part of a sequence when you call the function.If there is a custom color table associated with the image or the sequence, these functions retrieve and store it. You can use the color table settings request (described on page 3-20) to retrieve the custom color table and obtain as much color and depth information as possible from the image or sequence of images.
You can retrieve these settings using the
SCGetInfo
function, or modify them using theSCSetInfo
function, which are described on page 3-34 and page 3-36, respectively.There are three functions available:
SCDefaultPictHandleSettings
works with pictures,SCDefaultPictFileSettings
works with picture files, andSCDefaultPixMapSettings
works with pixel maps.
Subtopics
- SCDefaultPixMapSettings
- SCDefaultPictHandleSettings
- SCDefaultPictFileSettings
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help